package com.it.xiaotao.staticclass;

public class Parent {
    private String name;

    public Parent(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public class Son {

        public String getParentName() {
            return name;
        }
    }

    public static class StaticSon {
        private String name;

        public String getParentName() {
            return name;
        }
    }
}
